/**   
* @Title: AbstractJob.java
* @Package org.xaoyaoyao.cloud.job
* @Description: TODO
* @author xaoyaoyao
* @date Feb 11, 2019 3:59:35 PM
* @version V1.0   
*/
package org.xaoyaoyao.cloud.job;

import java.io.Serializable;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: AbstractJob
 * @Description: TODO
 * @author xaoyaoyao
 * @date Feb 11, 2019 3:59:35 PM
 * 
 */
public abstract class AbstractJob implements Job, Serializable {

	private static final long serialVersionUID = -3173043323256082182L;

	public final static Logger LOGGER = LoggerFactory.getLogger(AbstractJob.class);

	/**
	 * @Title: execute
	 * @Description: 业务逻辑在此方法内实现即可
	 * @param context
	 * @throws JobExecutionException
	 * @return void
	 */
	@Override
	public abstract void execute(JobExecutionContext context) throws JobExecutionException;

}